package com.olap.starter.controller.admin;


import com.olap.starter.service.FormMainColumnServices;
import com.olap.starter.core.base.BaseController;
import com.olap.starter.core.response.Result;
import com.olap.starter.core.response.ResultUtil;
import com.olap.starter.pojo.FormMainColumn;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @author WBG
 * @since 2022-12-21
 */
@RestController
@AllArgsConstructor
@RequestMapping("/online/formMainColumn")
public class FormMainColumnController extends BaseController<FormMainColumn, FormMainColumnServices> {

    private final FormMainColumnServices formMainColumnServices;

    @GetMapping({"/getListByUUid"})
    public Result getListByUUid(long uuid) {
        return ResultUtil.success(formMainColumnServices.getListByUUid(uuid));
    }
}
